package com.gomtel.smartdevice.moudle.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/5/14 0014.
 */
@Entity
public class AppConfigurationInfo {

    //主键自增长
    @Id(autoincrement = true)
    private Long id;
    @Unique
    private String CurrentUser;
    //MAC地址
    private String MAC;
    //设备名称
    private String DeviceName;
    //目标提醒
    private int ObjectiveToRemind;
    //来电提醒
    private int CallReminder;
    //久坐提醒
    private int SedentaryRemind;

    public AppConfigurationInfo(String currentUser, String MAC, String deviceName, int objectiveToRemind, int callReminder, int sedentaryRemind) {
        CurrentUser = currentUser;
        this.MAC = MAC;
        DeviceName = deviceName;
        ObjectiveToRemind = objectiveToRemind;
        CallReminder = callReminder;
        SedentaryRemind = sedentaryRemind;
    }

    @Generated(hash = 1490849537)
    public AppConfigurationInfo(Long id, String CurrentUser, String MAC, String DeviceName, int ObjectiveToRemind, int CallReminder,
            int SedentaryRemind) {
        this.id = id;
        this.CurrentUser = CurrentUser;
        this.MAC = MAC;
        this.DeviceName = DeviceName;
        this.ObjectiveToRemind = ObjectiveToRemind;
        this.CallReminder = CallReminder;
        this.SedentaryRemind = SedentaryRemind;
    }

    @Generated(hash = 1024411081)
    public AppConfigurationInfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCurrentUser() {
        return this.CurrentUser;
    }

    public void setCurrentUser(String CurrentUser) {
        this.CurrentUser = CurrentUser;
    }

    public String getMAC() {
        return this.MAC;
    }

    public void setMAC(String MAC) {
        this.MAC = MAC;
    }

    public String getDeviceName() {
        return this.DeviceName;
    }

    public void setDeviceName(String DeviceName) {
        this.DeviceName = DeviceName;
    }

    public int getObjectiveToRemind() {
        return this.ObjectiveToRemind;
    }

    public void setObjectiveToRemind(int ObjectiveToRemind) {
        this.ObjectiveToRemind = ObjectiveToRemind;
    }

    public int getCallReminder() {
        return this.CallReminder;
    }

    public void setCallReminder(int CallReminder) {
        this.CallReminder = CallReminder;
    }

    public int getSedentaryRemind() {
        return this.SedentaryRemind;
    }

    public void setSedentaryRemind(int SedentaryRemind) {
        this.SedentaryRemind = SedentaryRemind;
    }



}
